package com.gxa.service.service;

import com.gxa.common.base.RespResult;
import com.gxa.service.dto.ServiceDetailsDto;
import com.gxa.service.entity.Services;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;

/**
 *
 */
public interface ServicesService extends IService<Services> {

    RespResult updateIsRecommend(Integer id,Integer isRecommend);

    RespResult updateState(Integer id,Integer state);

    RespResult findService(Integer value, Integer currentPage, Integer pageSize);

    RespResult findServiceByTime(String dataF, String dataL, Integer currentPage, Integer pageSize);

    RespResult findServiceType();

    RespResult findSetService(Integer id);

    RespResult findServiceById(Integer id);

    RespResult addService(ServiceDetailsDto serviceDetailsDto);

    RespResult updateService(ServiceDetailsDto serviceDetailsDto);

    RespResult addServiceImg(MultipartFile file, Integer id,Integer order, HttpServletRequest request);

    RespResult findService1(Integer currentPage, Integer pageSize);
}
